    OUTPUT TO "c:\nopo.txt".
   
    FOR EACH wo_mstr NO-LOCK WHERE wo_part BEGINS "914" :
      FIND FIRST pod_det WHERE pod_wo_lot = wo_lot NO-LOCK NO-ERROR.
      IF NOT AVAILABLE pod_det THEN DO:
          FIND FIRST pt_mstr WHERE pt_part = wo_part NO-LOCK NO-ERROR.
         
           DISPLAY wo_nbr wo_part (pt_desc1 + pt_desc1) COLUMN-LABEL "Description" FORMAT "X(60)" wo_qty_ord wo_qty_comp wo_status WITH STREAM-IO WIDTH 150.
     END.
      ELSE NEXT.
     
    END.

    OUTPUT CLOSE.
